Skip to main content

All Questions

1vote
1answer
439views

What are the benefits of using lazy initialization when i.e. calling Doctrine's EntityManager?

TL;DR: I have noted that some tutorials are using an extra method call to retrieve a variable, in my case EntityManager of Doctrine. Is it generally a good idea to use such extra method call, when it ...
Dennis's user avatar
  • 8,257

close